<?php
if (isset($_POST['submitDelete'])) {
$id = $_POST['deleteID'];

include 'DBLibrary/config.php';
include 'DBLibrary/openDB.php';

    mysql_select_db("rotaract");
    
    $query="DELETE FROM ootm WHERE id = '$id'";
    $result = mysql_query($query)or die(mysql_error());
    $confirm = 'Delete successful!';
    }
?>
